<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@include file="/view/inc/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<security:csrfMetaTags/>
<script type="text/javascript">
var _callbacks = $.Callbacks();
var bizType = '${bizType}';
var bizCode = '${bizCode}';
$(function() {
	var url = basepath+'sys/SysFile/selectSysFileList/'+bizType+'/'+bizCode;
	$.ajax({
		url:url,
		type: "POST",
		dataType:'json',
		success:function(data){
			viewImage(data);
		}
	});
});
function viewImage(record){
	$.each(record,function(i,node){
	                var url = basepath +"sys/SysFile/viewImage/"+node.id;
					var html = "<img style='width:150px;height:150px;padding:10px' src='"+url+"'/>";
					$("#imgDiv").append(html);
				  });
}
</script> 
</head>
<body>
<div class="easyui-panel" style="width:100%;height:100%;text-align: center;"
	 data-options="footer:'#detailPageButtonsFt',fit:true,border:false">
<div id="imgDiv">
</div>
<div id='detailPageButtonsFt' style="text-align:center; padding:0px; top:0px">
	<a href="javascript:void(0)" id='cloBtn' class="easyui-linkbutton" iconCls='icon-cancel'>关闭</a>
</div>
</body>
</html>